package com.shop.admin.entity;

import lombok.Data;

import java.util.Date;
import java.io.Serializable;

/**
 * (Post)实体类
 *
 * @author makejava
 * @since 2023-05-18 18:41:13
 */
@Data
public class Post implements Serializable {
    private static final long serialVersionUID = -65965425036760456L;
    /**
     * 主键
     */
    private Integer id;
    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 内容
     */
    private String content;
    /**
     * 帖子分类id
     */
    private Integer categoryId;
    /**
     * 置顶字段
     */
    private Integer isTop;
    /**
     * 审核状态 1-> 发布未审核 2->发布已审核 3->发布审核不通过
     */
    private Integer checkStatus;
    /**
     * 点击次数
     */
    private Integer clickhitNum;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 逻辑删除
     * @return
     */
    private Integer isDelete;
    /**
     * 组织id
     */
    private Integer orgId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public Integer getIsTop() {
        return isTop;
    }

    public void setIsTop(Integer isTop) {
        this.isTop = isTop;
    }

    public Integer getCheckStatus() {
        return checkStatus;
    }

    public void setCheckStatus(Integer checkStatus) {
        this.checkStatus = checkStatus;
    }

    public Integer getClickhitNum() {
        return clickhitNum;
    }

    public void setClickhitNum(Integer clickhitNum) {
        this.clickhitNum = clickhitNum;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getOrgId() {
        return orgId;
    }

    public void setOrgId(Integer orgId) {
        this.orgId = orgId;
    }

}

